////////////////////////////////////////////////////////
// TrainingGrounds.cpp
////////////////////////////////////////////////////////

#include <d3d8.h>
#include "constants.h"
#include "MyEngine.h"
#include "TrainingGrounds.h"


int OriginPosition1;

extern CMyEngine g_Engine;

// Quest flags.
//BOOL bSpokeToGrewell = FALSE;

////////////////////////////////////////////////////////
// HandleTrainingGrounds()
////////////////////////////////////////////////////////
void HandleOpenTrainingGrounds()
{

		OriginPosition1 = g_Engine.GetPlayer()->GetSector();
		g_Engine.SaveGame(FALSE);
        g_Engine.GetPlayer()->SetSector(1700);
        g_Engine.OpenMapFiles("Training Grounds.map", FALSE);
        g_Engine.SetCurrentMap(TRAININGGROUNDS);
        g_Engine.GetCDirect3DObj()->SetCurrentTileSurface
            (g_Engine.GetCDirect3DObj()->GetTrainingGroundsSurfaces());
        g_Engine.ResetAnimation();

}

////////////////////////////////////////////////////////
// HandleTrainingGrounds()
////////////////////////////////////////////////////////
void HandleTrainingGrounds()
{

	//	switch (g_Engine.GetPlayer()->GetSector())
	//	{
	//	case /////:
	//		break
	//	}
}